Fluent Assertions Documentation
FluentAssertions.Collections Namespace / GenericCollectionAssertions<TCollection,T,TAssertions> Class / EndWith Method
In This Topic
    EndWith Method (GenericCollectionAssertions<TCollection,T,TAssertions>)
    In This Topic
    Asserts that the current collection ends with same elements in the same order as the collection identified by expectation. Elements are compared using their System.Object.Equals(System.Object).
    Overload List
    OverloadDescription
    Asserts that the current collection ends with same elements in the same order as the collection identified by expectation. Elements are compared using their System.Object.Equals(System.Object).  
    Asserts that the current collection ends with same elements in the same order as the collection identified by expectation. Elements are compared using equalityComparison.  
    Asserts that the collection ends with the specified element.  
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also